package cn.school.Dao;

import cn.school.Entity.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface Admindao {
  /*  public List<Admin> findall();*/
    public Admin admin(@Param("r") String root, @Param("p") String pass);
    public int up(Admin admin);
    public int del(@Param("id") long id);
    public int count();
    public int add(Admin admin);
    public List<Admin> findfy(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize,@Param("username") String username, @Param("tele") String tele);
}
